package com.zmn.oms.business.interfaces.work.erp;

import com.zmn.oms.common.exception.OmsBaseException;
import com.zmn.oms.model.dto.work.erp.CompensateOrderAccountInfoDTO;
import com.zmn.oms.model.dto.work.erp.NewOrderAccountInfoDTO;
import com.zmn.oms.model.dto.work.erp.RefundOrderAccountInfoDTO;
import com.zmn.oms.model.dto.work.erp.ReworkOrderAccountInfoDTO;
import com.zmn.oms.model.entity.work.OrderWork;

/**
 * @author sunlife
 * @date:2021/7/22 4:48 下午
 * description: 获取订单算账信息
 */
public interface OrderAccountInfoListBService {

    /**
     * 获取新单算账信息
     * @param orderWork
     * @return
     */
    NewOrderAccountInfoDTO getNewOrderAccountInfo(OrderWork orderWork) throws OmsBaseException;

    /**
     * 获取返修单算账信息
     * @param orderWork
     * @return
     */
    ReworkOrderAccountInfoDTO getReworkOrderAccountInfo(OrderWork orderWork) throws OmsBaseException;

    /**
     * 获取退款单算账信息
     * @param orderWork
     * @return
     */
    RefundOrderAccountInfoDTO getRefundOrderAccountInfo(OrderWork orderWork);

    CompensateOrderAccountInfoDTO getCompensateOrderAccountInfo(OrderWork orderWork);
}
